package edu.jsnu.purchase.ticket.service;

import edu.jsnu.service.ticket.order.domain.Order;
import edu.jsnu.service.ticket.order.dto.OrderShow;
import edu.jsnu.service.ticket.order.dto.OrderVo;

import java.util.List;

public interface OrderService {
    List<OrderVo> getUserOrderInfo(Integer userId);

    Order insertOrder(Integer userId, Integer scheduleId, Integer filmId, Integer quantity, Double money, String seatNo);

    Integer updateOrderStatusByUser(Integer orderId, Integer status);


    OrderShow getOrderInfoById (Integer id);
}
